﻿<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<%
    String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>
<%@ include file="/inc.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>闪耀先生系列 - 首页</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />    
    <!-- Bootstrap -->
    <link href="<%=basePath%>css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="<%=basePath%>css/font-awesome.min.css">
    <!-- style -->
    <link href="<%=basePath%>css/home.css" rel="stylesheet">
  </head>
  <body>
    <div class="header" style="text-align:center;margin-bottom:10px;">有故事的男人 选择私家裁缝!</div>
    <div class="container">
      <ul class="logo-list">
      	<s:iterator value="pageAd.elements" status="stat">
        <li>
          <a href="<s:property value="url" />"><img src="<%=basePath_org%><s:property value="img" />" alt=""></a>
        </li>
        </s:iterator>
      	<s:iterator value="page.elements" status="stat">
        <li>
          <a href="<%=basePath%>public/brandAction!go.action?brand_id=<s:property value="id" />"><img src="<%=basePath_org%><s:property value="img" />" alt=""></a>
        </li>
        </s:iterator>
      </ul>
    </div>
  </body>
</html>